﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;

[CustomEditor(typeof(FunctionTester))]
public class FunctionTesterEditor : Editor
{

    private SerializedObject obj;
    FunctionTester targetobj;
    void OnEnable()
    {
        targetobj = target as FunctionTester;
        obj = new SerializedObject(target);
    }
    public override void OnInspectorGUI()
    {
        base.OnInspectorGUI();
        obj.Update();
        
        obj.ApplyModifiedProperties();
    }
}
